Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when missing tpv and platform present #3691

Merged
merged 13 commits into from
Oct 21, 2020
Merged

Conversation

zkat
Copy link
Contributor

@zkat zkat commented Sep 28, 2020

Bug

Fixes: NuGet/Home#9441
Regression: No

Fix

This makes pack and restore fail if there's a framework with a platform but without a

Testing/Validation

Tests Added: Yes
Validation:
I manually checked it works for dependencygroups

@zkat zkat force-pushed the dev-zkat-net5-missing-tpv-error branch from e5206dd to dbd5e0f Compare October 16, 2020 17:12
@zkat zkat marked this pull request as ready for review October 16, 2020 17:13
@zkat zkat requested a review from a team as a code owner October 16, 2020 17:13
Copy link
Contributor

@dominoFire dominoFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting approach. I left some comments on Validation Rule.

@zkat
Copy link
Contributor Author

zkat commented Oct 19, 2020

@nkolev92 is this what you meant?

@nkolev92
Copy link
Member

@zkat

Yep, looks like the correct place for the validation.
I'll do an in depth review tomorrow.

@zkat
Copy link
Contributor Author

zkat commented Oct 20, 2020

Tests are pushed. Providing everything passes, this is all the code to review, I think.

Copy link
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👏 👏 👏 👏 👏

I think we can add a few more tests, but looks good beyond that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

net5 tfm: produce error when missing TPV
4 participants